package com.study.ssm.aop.spring;

import org.springframework.aop.MethodBeforeAdvice;

import java.lang.reflect.Method;

/**
 * @author zhoujunlin
 * @date 2023年07月24日 10:41
 * @desc
 */
public class Before implements MethodBeforeAdvice {

    @Override
    public void before(Method method, Object[] objects, Object o) throws Throwable {
        // 目标方法之前
        System.out.println("==========MethodBeforeAdvice.before=============");
    }

}
